package cn.explink.dop.entity.vo;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import cn.explink.eap.core.common.entity.IdEntity;

/**
 *
 * @ClassName: ReturnRecordVO
 * @Description: 归班结算历史记录表
 * @author 孟凡岭
 * @date 2015年4月29日 上午10:30:27
 * @since AR1.0
 */
@Entity
@Table(name = "bd_returnrecord")
public class ReturnRecordVO extends IdEntity implements Serializable {
	/**
	 *
	 */
	private static final long serialVersionUID = 7239585989960916668L;
	/**
	 * 配件员ID，关联DeliveryManVO
	 */
	private String deliveryManId;
	/**
	 * 应收总金额
	 */
	private String totalMoney;
	/**
	 * 垫付金额
	 */
	private String takeMoney;
	/**
	 * 运费
	 */
	private String deliveryMoney;
	/**
	 * 应交金额
	 */
	private String upMoney;
	/**
	 * 派送数量
	 */
	private Integer number;
	/**
	 * 结算的订单完成日期
	 */
	private Date orderDate;
	/**
	 * 结算日期
	 */
	private Date settleDate;
	/**
	 * 结算操作人员ID
	 */
	private String operUserId;

	@Column(length = 32, name = "deliveryManId")
	public String getDeliveryManId() {
		return this.deliveryManId;
	}

	public void setDeliveryManId(String deliveryManId) {
		this.deliveryManId = deliveryManId;
	}

	@Column(length = 20, name = "total_money")
	public String getTotalMoney() {
		return this.totalMoney;
	}

	public void setTotalMoney(String totalMoney) {
		this.totalMoney = totalMoney;
	}

	@Column(length = 20, name = "take_money")
	public String getTakeMoney() {
		return this.takeMoney;
	}

	public void setTakeMoney(String takeMoney) {
		this.takeMoney = takeMoney;
	}

	@Column(length = 20, name = "delivery_money")
	public String getDeliveryMoney() {
		return this.deliveryMoney;
	}

	public void setDeliveryMoney(String deliveryMoney) {
		this.deliveryMoney = deliveryMoney;
	}

	@Column(length = 20, name = "up_money")
	public String getUpMoney() {
		return this.upMoney;
	}

	public void setUpMoney(String upMoney) {
		this.upMoney = upMoney;
	}

	@Column
	public Integer getNumber() {
		return this.number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	@Column(name = "order_date", columnDefinition = "datetime")
	public Date getOrderDate() {
		return this.orderDate;
	}

	public void setOrderDate(Date orderDate) {
		this.orderDate = orderDate;
	}

	@Column(name = "settle_date", columnDefinition = "datetime")
	public Date getSettleDate() {
		return this.settleDate;
	}

	public void setSettleDate(Date settleDate) {
		this.settleDate = settleDate;
	}

	@Column(length = 32, name = "oper_UserId")
	public String getOperUserId() {
		return this.operUserId;
	}

	public void setOperUserId(String operUserId) {
		this.operUserId = operUserId;
	}

}
